export const setMsgListAction = (data) => ({ type: 'setMsgList', data })
export const setSocketAction = (data) => ({type: 'setSocket', data})
export const setOfflineMsgAction = (data) => ({type: 'setOfflineMsg', data})
export const setOnlineMsgAction = (data) => ({type: 'setOnlineMsg', data})
export const sendMsgSuccessAction = (data) => ({type: 'sendMsgSuccess', data})
export const addNewFriendAction = (data) => ({type: 'addNewFriend', data})
export const setTabBarBadgeAction = (data) => ({type: 'setTabBarBadge', data})
export const resetUnreadMsgAction = (data) => ({type: 'resetUnreadMsg', data})
